package cn.mysdp.biz.convert;

import cn.mysdp.biz.domain.*;
import cn.mysdp.biz.dto.request.*;
import java.util.Date;

/**
 * @ClassName: SdpWorkspaceForGetTableListRequestConvert
 * @Description:
 * @Author: SDP
 * @Date: 2021-10-30
 * @Version: 1.0
 * Table: sdp_workspace
 * Comment:
 * workspace
 */
public class SdpWorkspaceForGetTableListRequestConvert extends BaseConvert {
    public static SdpWorkspaceForGetTableList convert(SdpWorkspaceForGetTableListRequest request) throws Exception {
        SdpWorkspaceForGetTableList daoRequest = new SdpWorkspaceForGetTableList();
        copyProperties(request, daoRequest);

        daoRequest.setWorkspaceName(daoRequest.getWorkspaceName() == null ? null : daoRequest.getWorkspaceName().trim());
        daoRequest.setName(daoRequest.getName() == null ? null : daoRequest.getName().trim());
        daoRequest.setAliasName(daoRequest.getAliasName() == null ? null : daoRequest.getAliasName().trim());
        daoRequest.setRemark(daoRequest.getRemark() == null ? null : daoRequest.getRemark().trim());
        daoRequest.setCallType(daoRequest.getCallType() == null ? null : daoRequest.getCallType().trim());

        return daoRequest;
    }
}
